package com.lechuang.order.mq;

/**
 * 存放mq的 交换机和队列的名字，以免重复
 * @author hefei
 * @version 1.0
 * @date 2023/7/12 3:19 下午
 */
public class MqConstant {

    /** 延迟队列延迟时间*/
    public static final int DELAYED_TIME = 3 * 1000;

    /** 普通队列 */
    public static final  String MQ_EXCHANGE = "MQ_EXCHANGE";
    public static final  String MQ_QUEUE = "MQ_QUEUE";

    /** 延迟队列 */
    public static final  String MQ_DELAYED_EXCHANGE = "MQ_DELAYED_EXCHANGE";
    public static final  String MQ_DELAYED_QUEUE = "MQ_DELAYED_QUEUE";

    /** 广播 */
    public static final  String MQ_BROADCAST_EXCHANGE = "MQ_BROADCAST_EXCHANGE";
    public static final  String MQ_BROADCAST_QUEUE1 = "MQ_BROADCAST_QUEUE1";
    public static final  String MQ_BROADCAST_QUEUE2 = "MQ_BROADCAST_QUEUE2";
}
